From 53e9351713dfc23533c82eb706c628f7a20bebad Mon Sep 17 00:00:00 2001 From: Andreas Beckmann Date: Fri, 15 Oct 2021 17:22:36 +0100 Subject: [PATCH] the pocl cl extensions are not yet in the upstream cl headers Forwarded: no-needed Gbp-Pq: Name cl_ext_pocl.patch --- lib/CL/pocl_cl.h | 1 + tests/runtime/test_cl_pocl_content_size.c | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/CL/pocl_cl.h b/lib/CL/pocl_cl.h index 14635df..dbe7fde 100644 --- a/lib/CL/pocl_cl.h +++ b/lib/CL/pocl_cl.h @@ -61,6 +61,7 @@ typedef pthread_t pocl_thread_t; #include "pocl_hash.h" #include "pocl_runtime_config.h" #include "common.h" +#include "_CL/cl_ext_pocl.h" #if __STDC_VERSION__ < 199901L # if __GNUC__ >= 2 diff --git a/tests/runtime/test_cl_pocl_content_size.c b/tests/runtime/test_cl_pocl_content_size.c index 638f0bf..169d5a1 100644 --- a/tests/runtime/test_cl_pocl_content_size.c +++ b/tests/runtime/test_cl_pocl_content_size.c @@ -25,6 +25,7 @@ #include #include #include +#include <_CL/cl_ext_pocl.h> #define SRC_CHAR 1 #define DST_CHAR 2 -- 2.30.2